package cn.ybk.order.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ConfirmDto {

   @NotNull(message = "id不能为空")
   private Long id;
   @NotNull(message = "支付方法不能为空")
   private Integer payType;
   @NotBlank(message = "支付金额不能为空")
   private BigDecimal money;

}
